import request from '@/utils/request'
export default {
  PAMetricCurvePlot(formdata) {
    return request({
      url: `/api/pa/getMetricCurvePlot`,
      method: 'post',
      data: formdata
    })
  },

  PAMetricSpectrumPlot(formdata) {
    return request({
      url: `/api/pa/getMetricSpectrumPlot`,
      method: 'post',
      data: formdata
    })
  },

  PAHeatmapPlot(formdata) {
    return request({
      url: `/api/pa/getHeatmapPlot`,
      method: 'post',
      data: formdata
    })
  },

  PAHeatmapForSignalPlot(formdata) {
    return request({
      url: `/api/pa/getHeatmapForSignalPlot`,
      method: 'post',
      data: formdata
    })
  },
  
  PAUploadFile(formdata) {
    return request({
      url: `/api/pa/uploadFile`,
      method: 'post',
      data: formdata
    })
  },
}
